<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 主键
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 * @property int $item_id 
 * @property string $name 
 * @property string $value 
 * @property int $is_other 是否是其他
 * @property int $sort 
 * @property int $select_total 选择总数量
 */
class ChSmartQuestionnaireOption extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_smart_questionnaire_option';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'created_at', 'updated_at', 'item_id', 'name', 'value', 'is_other', 'sort', 'select_total'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'item_id' => 'integer', 'is_other' => 'integer', 'sort' => 'integer', 'select_total' => 'integer'];
}
